{layout name="admin/layout" /}
<table class="table">
<thead>
    <tr>
        <th class="fn-tac w50">#</th>
        <th class="w100">操作</th>
        <th>小程序名称</th>
        <th class="w160">开通日期</th>
        <th class="w70 fn-tac">状态</th>
    </tr>
</thead>
<tbody>
{foreach $lists as $rs}
    <tr>
        <td class="fn-tac">{$rs->id}</td>
        <td>
            <a class="button" href="{:url('bestbao/admin.cost/config',['miniapp_id'=>$rs->id])}"><i class="iconfont icon-edit"></i>配置</a>
        </td>
        <td>{$rs.appname}</td>
        <td>{$rs->create_time|date='Y-m-d H:i'}</td>
        <td class="fn-tac">{if $rs.is_lock}<span class="badge bg-red">锁定</span>{else}<span class="badge">正常</span>{/if}</td>
    </tr>
{/foreach}
</tbody>
</table>
{$lists|raw}